package jspeech.exception;

/**
 * A XMLConfigFileException is thrown if the XML is missing variables, format
 * error or setting wrong.
 * 
 * @author Kenneth
 * @version 1.0.0
 */
public class XMLConfigFileException extends RuntimeException {

	/**
	 * EngineConnectionException Version UID
	 */
	public static final long serialVersionUID = 1;

	/**
	 * Constructs a XMLConfigFileException with the specified detail message.
	 * 
	 * @param message
	 *            the detail message
	 */
	public XMLConfigFileException(String path, Exception e) {
		super("Fail to load XML config file " + path + "\n" + e.getMessage());
	}
}
